3.4.34 \(\int \frac {(e \cos (c+d x))^p}{(a+a \sin (c+d x))^8} \, dx\) [334]

Optimal. Leaf size=93 \[ -\frac {2^{\frac {1}{2} (-15+p)} (e \cos (c+d x))^{1+p} \, _2F_1\left (\frac {17-p}{2},\frac {1+p}{2};\frac {3+p}{2};\frac {1}{2} (1-\sin (c+d x))\right ) (1+\sin (c+d x))^{\frac {1}{2} (-1-p)}}{a^8 d e (1+p)} \]

[Out]

-2^(-15/2+1/2*p)*(e*cos(d*x+c))^(1+p)*hypergeom([1/2+1/2*p, 17/2-1/2*p],[3/2+1/2*p],1/2-1/2*sin(d*x+c))*(1+sin
(d*x+c))^(-1/2-1/2*p)/a^8/d/e/(1+p)

________________________________________________________________________________________

Rubi [A]
time = 0.06, antiderivative size = 93, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {2767, 71} \begin {gather*} -\frac {2^{\frac {p-15}{2}} (\sin (c+d x)+1)^{\frac {1}{2} (-p-1)} (e \cos (c+d x))^{p+1} \, _2F_1\left (\frac {17-p}{2},\frac {p+1}{2};\frac {p+3}{2};\frac {1}{2} (1-\sin (c+d x))\right )}{a^8 d e (p+1)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(e*Cos[c + d*x])^p/(a + a*Sin[c + d*x])^8,x]

[Out]

-((2^((-15 + p)/2)*(e*Cos[c + d*x])^(1 + p)*Hypergeometric2F1[(17 - p)/2, (1 + p)/2, (3 + p)/2, (1 - Sin[c + d
*x])/2]*(1 + Sin[c + d*x])^((-1 - p)/2))/(a^8*d*e*(1 + p)))

Rule 71

Int[((a_) + (b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)/(b*(m + 1)*(b/(b*c
 - a*d))^n))*Hypergeometric2F1[-n, m + 1, m + 2, (-d)*((a + b*x)/(b*c - a*d))], x] /; FreeQ[{a, b, c, d, m, n}
, x] && NeQ[b*c - a*d, 0] &&  !IntegerQ[m] &&  !IntegerQ[n] && GtQ[b/(b*c - a*d), 0] && (RationalQ[m] ||  !(Ra
tionalQ[n] && GtQ[-d/(b*c - a*d), 0]))

Rule 2767

Int[(cos[(e_.) + (f_.)*(x_)]*(g_.))^(p_)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_.), x_Symbol] :> Dist[a^m*(
(g*Cos[e + f*x])^(p + 1)/(f*g*(1 + Sin[e + f*x])^((p + 1)/2)*(1 - Sin[e + f*x])^((p + 1)/2))), Subst[Int[(1 +
(b/a)*x)^(m + (p - 1)/2)*(1 - (b/a)*x)^((p - 1)/2), x], x, Sin[e + f*x]], x] /; FreeQ[{a, b, e, f, g, p}, x] &
& EqQ[a^2 - b^2, 0] && IntegerQ[m]

Rubi steps

\begin {align*} \int \frac {(e \cos (c+d x))^p}{(a+a \sin (c+d x))^8} \, dx &=\frac {\left ((e \cos (c+d x))^{1+p} (1-\sin (c+d x))^{\frac {1}{2} (-1-p)} (1+\sin (c+d x))^{\frac {1}{2} (-1-p)}\right ) \text {Subst}\left (\int (1-x)^{\frac {1}{2} (-1+p)} (1+x)^{-8+\frac {1}{2} (-1+p)} \, dx,x,\sin (c+d x)\right )}{a^8 d e}\\ &=-\frac {2^{\frac {1}{2} (-15+p)} (e \cos (c+d x))^{1+p} \, _2F_1\left (\frac {17-p}{2},\frac {1+p}{2};\frac {3+p}{2};\frac {1}{2} (1-\sin (c+d x))\right ) (1+\sin (c+d x))^{\frac {1}{2} (-1-p)}}{a^8 d e (1+p)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.20, size = 94, normalized size = 1.01 \begin {gather*} -\frac {2^{\frac {1}{2} (-15+p)} \cos (c+d x) (e \cos (c+d x))^p \, _2F_1\left (\frac {17-p}{2},\frac {1+p}{2};\frac {3+p}{2};\frac {1}{2} (1-\sin (c+d x))\right ) (1+\sin (c+d x))^{\frac {1}{2} (-1-p)}}{a^8 d (1+p)} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(e*Cos[c + d*x])^p/(a + a*Sin[c + d*x])^8,x]

[Out]

-((2^((-15 + p)/2)*Cos[c + d*x]*(e*Cos[c + d*x])^p*Hypergeometric2F1[(17 - p)/2, (1 + p)/2, (3 + p)/2, (1 - Si
n[c + d*x])/2]*(1 + Sin[c + d*x])^((-1 - p)/2))/(a^8*d*(1 + p)))

________________________________________________________________________________________

Maple [F]
time = 2.88, size = 0, normalized size = 0.00 \[\int \frac {\left (e \cos \left (d x +c \right )\right )^{p}}{\left (a +a \sin \left (d x +c \right )\right )^{8}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((e*cos(d*x+c))^p/(a+a*sin(d*x+c))^8,x)

[Out]

int((e*cos(d*x+c))^p/(a+a*sin(d*x+c))^8,x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*cos(d*x+c))^p/(a+a*sin(d*x+c))^8,x, algorithm="maxima")

[Out]

integrate((cos(d*x + c)*e)^p/(a*sin(d*x + c) + a)^8, x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*cos(d*x+c))^p/(a+a*sin(d*x+c))^8,x, algorithm="fricas")

[Out]

integral((cos(d*x + c)*e)^p/(a^8*cos(d*x + c)^8 - 32*a^8*cos(d*x + c)^6 + 160*a^8*cos(d*x + c)^4 - 256*a^8*cos
(d*x + c)^2 + 128*a^8 - 8*(a^8*cos(d*x + c)^6 - 10*a^8*cos(d*x + c)^4 + 24*a^8*cos(d*x + c)^2 - 16*a^8)*sin(d*
x + c)), x)

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*cos(d*x+c))**p/(a+a*sin(d*x+c))**8,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*cos(d*x+c))^p/(a+a*sin(d*x+c))^8,x, algorithm="giac")

[Out]

integrate((cos(d*x + c)*e)^p/(a*sin(d*x + c) + a)^8, x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (e\,\cos \left (c+d\,x\right )\right )}^p}{{\left (a+a\,\sin \left (c+d\,x\right )\right )}^8} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((e*cos(c + d*x))^p/(a + a*sin(c + d*x))^8,x)

[Out]

int((e*cos(c + d*x))^p/(a + a*sin(c + d*x))^8, x)

________________________________________________________________________________________